home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dr. Windows 3
/
dr win3.zip
/
dr win3
/
WINWORDS
/
AMIMACRO.ZIP
/
CHNGCASE.SMM
< prev
next >
Wrap
INI File
|
1992-12-12
|
1KB
|
124 lines
[ver]
4
[sty]
_MACRO.STY
[files]
[charset]
82
ANSI (Windows, IBM CP 1252)
[revisions]
0
[prn]
Citizen GSX-140
[port]
LPT1:
[lang]
1
[desc]
Changes the case of the first letter in the word the cursor is in when the macro is executed.
724215893
1
724214935
14
1
0
0
0
0
1
[fopts]
0
1
0
0
[lnopts]
2
Body Text
1
[docopts]
5
2
[GramStyle]
[l1]
0
[pg]
1
12 0 12 1025 0 0 0 216 65535 Standard 65535 0 0 0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
[edoc]
FUNCTION Chngcase()
Type( "<[>CTRLLeft]<[>SHIFTRight]" )
ltr=curshade$()
ansi=asc(ltr)
If ansi << 91
ansi = ansi + 32
Elseif ansi <;> 96
ansi = ansi - 32
Endif
ltr=chr$(ansi)
Type("{ltr}")
<:#216,10800>END FUNCTION
>
[Embedded]
00000813
>
[macsum] 1
Chngcase 0 0 3 0
[macse]
14 Chngcase
0 6 "[16421][4135]"
0 24
13
8 1
0 40 "{1}"
13
8 2
6 2
5 91
18 5
11 00000134
6 2
5 32
3 0
8 2
10 00000185
6 2
5 96
18 3
11 00000185
6 2
5 32
3 1
8 2
0 39 "{2}"
13
8 1
0 6 "{1}"
6 0
15
9
00000838